package com.kara.woodAgent.agent.wood.playload;

import com.kara.woodAgent.agent.graph.communicate.ChannelPayload;
import lombok.Data;

import java.util.List;

@Data
public class ThinksPayload implements ChannelPayload {

    private List<String> thinkLogs;

    public static ThinksPayload of(List<String> thinkLogs) {
        ThinksPayload payload = new ThinksPayload();
        payload.thinkLogs = thinkLogs;
        return payload;
    }

    public static ThinksPayload of(String thinkLog) {
        ThinksPayload payload = new ThinksPayload();
        payload.thinkLogs = List.of(thinkLog);
        return payload;
    }

}
